package Dome4;

public class Test {

	public static void main(String[] args) {
		Animal animal=new Dog();
		animal.eat();
		Dog dog=(Dog)animal;
		dog.eat();
		dog.watch();
	}
}
